{% extends "sentry/bases/modal.html" %}
{% load sentry_assets %}
{% load i18n %}

{% block wrapperclass %}narrow auth{% endblock %}
{% block modal_header_signout %}{% endblock %}

{% block title %}{% trans "Register OneLogin" %} | {{ block.super }}{% endblock %}

{% block main %}
<h3>{% trans "Register OneLogin" %}</h3>

<p>
  As part of OneLogin SSO provisioning, you have to provide the OneLogin
  identity provider Issuer URL to Sentry.
</p>

<form method="post" class="form-stacked">
  {% csrf_token %}
  {% include "sentry/partial/form_base.html" %}
  <input type="hidden" name="provider" value="onelogin" />

  <fieldset class="form-actions">
    <button type="submit" class="btn btn-primary" name="action_save">{% trans "Continue" %}</button>
    <a class="pull-right" style="margin-top: 7px" href="https://docs.sentry.io/learn/sso/#onelogin" target="_blank" rel="noopener">
      Need help finding your Issuer URL?
    </a>
  </fieldset>
</form>
{% endblock %}
